<?php
/* 运程定义管理  */
class Haul_defineModel extends BaseModel
{
    var $table  = 'haul_define';
    var $prikey = 'h_tid';
    var $_name  = 'haul_define';
   
    
        
          var $_relation  = array(
        // 一个确认类型只能属于一个确认类型
            'belongs_to_dictionary' => array(
            'model'         => 'dictionary',
            'type'          => BELONGS_TO,
            'foreign_key'   => 'd_key',
            'reverse'       => 'haul_define',
        ),
  
    );
        
        
        
}
?>
